<?php
/**
 * name 刘杨
 */
namespace backend\models;

use Yii;
use yii\base\Model;

class UserForm extends Model
{
    public $name;
    public $pwd;
    public function rules()
    {
        return [
            [['name', 'pwd'], 'required'],
        ];
    }
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'name' => '',
            'pwd' => '',
        ];
    }
}
